/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tomasio.projects.welcome.dao;

import com.tomasio.projects.welcome.dto.VeiculoDTO;
import java.util.List;

/**
 *
 * @author administrador
 */
public interface VeiculoDAO {

    VeiculoDTO find(Long id);

    void create(VeiculoDTO veiculo);

    void remove(Long id);

    void update(VeiculoDTO veiculo);

    List<VeiculoDTO> findAll();

    List<VeiculoDTO> searchByPlaca(String searchTerm);

    VeiculoDTO findByPlaca(String placa);
}
